﻿<UserControl x:Class="QUT.Bio.SilverMap.HspPanel"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

	<UserControl.Resources>
		<Style x:Key="Text"
			   TargetType="TextBlock">

			<Setter Property="VerticalAlignment"
					Value="Top" />

			<Setter Property="HorizontalAlignment"
					Value="Stretch" />

			<Setter Property="FontFamily"
					Value="Courier New" />

			<Setter Property="FontSize"
					Value="12" />

			<Setter Property="TextWrapping"
					Value="Wrap" />

			<Setter Property="Margin"
					Value="0 2 0 0" />

		</Style>

		<Style x:Key="Head"
			   TargetType="TextBlock">

			<Setter Property="VerticalAlignment"
					Value="Top" />

			<Setter Property="FontSize"
					Value="12" />

			<Setter Property="Margin"
					Value="0 0 0 0" />
		</Style>
	</UserControl.Resources>

	<Border BorderBrush="LightGray" Margin="3 3 3 0" CornerRadius="3" BorderThickness="1" >
		<Grid Name="layoutRoot">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="auto" />
				<ColumnDefinition Width="5" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>

			<Grid.RowDefinitions>
				<RowDefinition Height="auto" />
				<RowDefinition Height="auto" />
				<RowDefinition Height="auto" />
				<RowDefinition Height="auto" />
				<RowDefinition Height="auto" />
				<RowDefinition Height="auto" />
			</Grid.RowDefinitions>

			<TextBlock Grid.Row="0"
					   Text="E-Value"
					   Style="{StaticResource Head}" />

			<TextBlock Grid.Row="0"
					   Name="eValueField"
					   Grid.Column="2"
					   Text="?"
					   Style="{StaticResource Text}" />

			<TextBlock Grid.Row="1"
					   Text="Positives"
					   Style="{StaticResource Head}" />
			<TextBlock Grid.Row="1"
					   Name="positivesField"
					   Grid.Column="2"
					   Text="?"
					   Style="{StaticResource Text}" />

			<TextBlock Grid.Row="2"
					   Text="Identities"
					   Style="{StaticResource Head}" />

			<TextBlock Grid.Row="2"
					   Name="identitiesField"
					   Grid.Column="2"
					   Text="?"
					   Style="{StaticResource Text}" />


			<TextBlock Grid.Row="3"
					   Text="Query extent"
					   Style="{StaticResource Head}" />

			<TextBlock Grid.Row="3"
					   Name="queryExtentField"
					   Grid.Column="2"
					   Text="?"
					   Style="{StaticResource Text}" />

			<TextBlock Grid.Row="4"
					   Text="Hit extent"
					   Style="{StaticResource Head}" />

			<TextBlock Grid.Row="4"
					   Name="hitExtentField"
					   Grid.Column="2"
					   Text="?"
					   Style="{StaticResource Text}" />

			<Border Name="endStaticFields"
					Height="0"
					Grid.Row="5" />

			<!-- Additional content is inserted programmatically here -->
		</Grid>
	</Border>
</UserControl>
